//
//  NoteTableViewCell.m
//  product_B
//
//  Created by lanou on 16/6/3.
//  Copyright © 2016年 lanou. All rights reserved.
//

#import "NoteTableViewCell.h"

@implementation NoteTableViewCell

-(void)setModel:(NoteModel *)model{
    _model = model;
    if ([_model.weather isEqualToString:@"晴"]) {
        self.picImageView.image = [UIImage imageNamed:@"晴天.png"];
    }else{
        self.picImageView.image = [UIImage imageNamed:@"6阴天.png"];
    }
    self.timeLabel.text = _model.input_date;
    self.contentLabel.text = _model.content;
}
- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
